package com.qianli.cashmama.trade.entity;

import com.fqgj.common.entity.BaseEntity;

import java.math.BigDecimal;
/**
* User: sm
* Date: 2019-12-18
* Time: 14:47:02.557
* TableDesc:
*/
public class TUserLevelConfigRulesEntity extends BaseEntity{
    /**
    *类目code
    */
    private String categoryCode;
    /**
    *上次借款金额
    */
    private BigDecimal lastBorrowCapital;
    /**
    *可升级的借款金额
    */
    private BigDecimal nowBorrowCapital;
    /**
    *最低还款次数
    */
    private Integer needMinPaidTimes;
    /**
    *需要最近几次的还款情况
    */
    private Integer latestTimesToConsider;
    /**
    *最近几次还款中的最大逾期天数
    */
    private Integer latestTimesMaxOverdueDays;
    /**
    *最近几次还款中的最小逾期天数，防止恶意刷额度
    */
    private Integer latestTimesMinOverdueDays;
    /**
    *上比的逾期天数
    */
    private Integer lastOverdueDays;
    /**
    *可升级到的level
    */
    private Integer level;


    public  String getCategoryCode(){
        return this.categoryCode;
    }

    public  TUserLevelConfigRulesEntity setCategoryCode(String categoryCode){
        this.categoryCode = categoryCode;
        return this;
    }

    public  BigDecimal getLastBorrowCapital(){
        return this.lastBorrowCapital;
    }

    public  TUserLevelConfigRulesEntity setLastBorrowCapital(BigDecimal lastBorrowCapital){
        this.lastBorrowCapital = lastBorrowCapital;
        return this;
    }

    public  BigDecimal getNowBorrowCapital(){
        return this.nowBorrowCapital;
    }

    public  TUserLevelConfigRulesEntity setNowBorrowCapital(BigDecimal nowBorrowCapital){
        this.nowBorrowCapital = nowBorrowCapital;
        return this;
    }

    public  Integer getNeedMinPaidTimes(){
        return this.needMinPaidTimes;
    }

    public  TUserLevelConfigRulesEntity setNeedMinPaidTimes(Integer needMinPaidTimes){
        this.needMinPaidTimes = needMinPaidTimes;
        return this;
    }

    public  Integer getLatestTimesToConsider(){
        return this.latestTimesToConsider;
    }

    public  TUserLevelConfigRulesEntity setLatestTimesToConsider(Integer latestTimesToConsider){
        this.latestTimesToConsider = latestTimesToConsider;
        return this;
    }

    public  Integer getLatestTimesMaxOverdueDays(){
        return this.latestTimesMaxOverdueDays;
    }

    public  TUserLevelConfigRulesEntity setLatestTimesMaxOverdueDays(Integer latestTimesMaxOverdueDays){
        this.latestTimesMaxOverdueDays = latestTimesMaxOverdueDays;
        return this;
    }

    public  Integer getLatestTimesMinOverdueDays(){
        return this.latestTimesMinOverdueDays;
    }

    public  TUserLevelConfigRulesEntity setLatestTimesMinOverdueDays(Integer latestTimesMinOverdueDays){
        this.latestTimesMinOverdueDays = latestTimesMinOverdueDays;
        return this;
    }

    public  Integer getLastOverdueDays(){
        return this.lastOverdueDays;
    }

    public  TUserLevelConfigRulesEntity setLastOverdueDays(Integer lastOverdueDays){
        this.lastOverdueDays = lastOverdueDays;
        return this;
    }

    public  Integer getLevel(){
        return this.level;
    }

    public  TUserLevelConfigRulesEntity setLevel(Integer level){
        this.level = level;
        return this;
    }
}
